﻿<%@ control language="VB" autoeventwireup="false" inherits="controls_VerFactura, App_Web_vfbk0y9u" %>
<table border="0" cellpadding="0" cellspacing="2" width="650px" align="center">
    <tr>
        <td valign="top" width="50%">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td>
                        <font class="sectionHeader">Remitente</font></td>
                </tr>
                <tr>
                    <td class="ListsItems">
                        <table border="0" cellpadding="0" cellspacing="1">
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblRemitente" runat="server">Número</span>
                                </td>
                                <td class="RightCellItems" width="100%">
                                    <%= MiFactura.Cliente.Numero %>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblClienteDoc" runat="server">Doc.:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <% = MiFactura.Cliente.Doc %>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblClienteNombres" runat="server">Nombres:</span>
                                </td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=MiFactura.Cliente.Nombre%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblClienteDireccion" runat="server">Dirección:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=MiFactura.Cliente.Domicilio%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblClienteCiudad" runat="server">Ciudad:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=MiFactura.Cliente.CPCiudad%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblClienteTelefono" runat="server">Teléfono</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=MiFactura.Cliente.Telefonos%>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td>
                        <font class="sectionHeader">Beneficiario</font></td>
                </tr>
                <tr>
                    <td class="ListsItems">
                        <table border="0" cellpadding="0" cellspacing="1">
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblBnfNombres" runat="server">Nombres:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=MiFactura.Beneficiario.Nombre%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblBnfDireccion" runat="server">Dirección:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=MiFactura.Beneficiario.Direccion%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                </td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=MiFactura.Beneficiario.Barrio%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblBnfCiudad" runat="server">Ciudad:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=MiFactura.Beneficiario.Ciudad%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblBnfTelefonos" runat="server">Telefonos:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%= MiFactura.Beneficiario.Telefonos %>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblBnfBanco" runat="server">Banco:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <!-- mybase.MiFactura.Beneficiario.Banco & " " & mybase.MiFactura.Beneficiario.AgenciaCiudad -->
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblBnfCuenta" runat="server">Cuenta:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <!-- mybase.MiFactura.Beneficiario.TipoCuenta -->
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td valign="bottom">
                        <font class="sectionHeader">Observaciones</font></td>
                </tr>
                <tr>
                    <td class="ListsItems">
                        <table align="right" border="0" cellpadding="0" cellspacing="1" width="100%">
                            <tr height="22">
                                <td class="LeftCellItems" width="150">
                                    <span id="lblMensaje" runat="server">Mensajes:</span>
                                </td>
                                <td class="RightCellItems" width="100%">
                                    <%=MiFactura.Factura.Mensaje%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" width="150">
                                    <span id="lblNotas" runat="server">Notas:</span>
                                </td>
                                <td class="RightCellItems" width="100%">
                                    <%=MiFactura.Factura.Notas%>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
        <td valign="top" width="50%">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td valign="bottom">
                        <font class="sectionHeader">Datos del giro</font></td>
                </tr>
                <tr>
                    <td class="ListsItems">
                        <table id="Table3" border="0" cellpadding="0" cellspacing="1" width="100%">
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblUsuario" runat="server">Usuario</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=MiFactura.Factura.Usuario%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblConcepto" runat="server">Concepto:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=MiFactura.Factura.Concepto%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblFechaHora" runat="server">Fecha/Hora:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=MiFactura.Factura.FechaHora%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblOperacion" runat="server">Operación:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=MiFactura.Factura.ID%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblReferencia" runat="server">Referencia:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=MiFactura.Factura.Referencia%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblCambio" runat="server">Cambio:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=CDbl(MiFactura.Factura.Cambio).ToString("n4")%>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td valign="bottom">
                        <font class="sectionHeader">Importes</font></td>
                </tr>
                <tr>
                    <td class="ListsItems">
                        <table id="Table4" border="0" cellpadding="0" cellspacing="1" width="100%">
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                </td>
                                <td align="center" class="LeftCellItems" nowrap="nowrap" width="50%">
                                    <span id="lblEuros" runat="server">Euros</span>
                                </td>
                                <td align="center" class="LeftCellItems" nowrap="nowrap" width="50%">
                                    <span id="lblDolares" runat="server">Dolares</span>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="TD21" runat="server">Enviado:</span></td>
                                <td align="right" class="RightCellItems" nowrap="nowrap" width="50%">
                                    <%=CDbl(MiFactura.Factura.Enviado).ToString("n2")%>
                                </td>
                                <td align="right" class="RightCellItems" nowrap="nowrap" width="50%">
                                    <%=CDbl(MiFactura.Factura.EnviadoUSD).ToString("n2")%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblCargo" runat="server">Cargo:</span></td>
                                <td align="right" class="RightCellItems" nowrap="nowrap" width="50%">
                                    <%=CDbl(MiFactura.Factura.Cargo).ToString("n2")%>
                                </td>
                                <td align="right" class="RightCellItems" nowrap="nowrap" width="50%">
                                    <%=CDbl(MiFactura.Factura.CargoUSD).ToString("n2")%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblTotal" runat="server">Total:</span></td>
                                <td align="right" class="RightCellItems" nowrap="nowrap" width="50%">
                                    <%=CDbl(MiFactura.Factura.Total).ToString("n2")%>
                                </td>
                                <td align="right" class="RightCellItems" nowrap="nowrap" width="50%">
                                    <%=CDbl(MiFactura.Factura.TotalUSD).ToString("n2")%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblAPagarEn" runat="server">A Pagar en</span></td>
                                <td align="center" class="LeftCellItems" nowrap="nowrap">
                                    <%=MiFactura.Beneficiario.Pais%>
                                </td>
                                <td align="center" class="LeftCellItems" nowrap="nowrap">
                                    <%=MiFactura.Factura.ARecibir & " " & MyBase.MiFactura.Factura.MonedaPago%>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" class="LeftCellItems" colspan="3" nowrap="nowrap">
                                    <%=MiFactura.Factura.ModoPago%>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td valign="bottom">
                        <font class="sectionHeader">Corresponsal</font></td>
                </tr>
                <tr>
                    <td class="ListsItems">
                        <table border="0" cellpadding="0" cellspacing="1" width="100%">
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblCorrNombre" runat="server">Nombre:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=MiFactura.Corresponsal.Corresponsal%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblCorrOficina" runat="server">Oficina:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" valign="top" width="100%">
                                    <%=MiFactura.Corresponsal.Direccion%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblCorrNota" runat="server">Nota:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=MiFactura.Corresponsal.Obs%>
                                </td>
                            </tr>
                            <tr>
                                <td class="LeftCellItems" nowrap="nowrap" width="100">
                                    <span id="lblCorrReferencia" runat="server">Referencia:</span></td>
                                <td class="RightCellItems" nowrap="nowrap" width="100%">
                                    <%=MiFactura.Corresponsal.Referencia%>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>

<table align="center" id="tblIncHs" runat="server" width="650px" style="width:650px">
    <tr id="trNuevaIncidencia" runat="server">
        <td>
            <table id="Table5" border="0" cellpadding="0" cellspacing="0" width="100%" class="footerItem">
                <tr>
                    <td class="NormalBold" nowrap="nowrap" valign="top" width="20%">
                        <span id="lblTextoIncidencia" runat="server">Texto de la Incidencia:</span></td>
                    <td class="Normal" nowrap="nowrap">
                        <asp:TextBox ID="txtNuevaIncidencia" runat="server" CssClass="Normal" TextMode="MultiLine"
                            Width="100%" MaxLength="120"></asp:TextBox><br />
                    </td>
                    <td align="center" nowrap="nowrap" valign="top" width="20%">
                        <asp:LinkButton ID="btnGuardarIncidencia" runat="server" CssClass="navanchordark" OnClientClick="document.getElementById('btnGuardarIncidencia').style.display = 'none';">Guardar</asp:LinkButton>&nbsp;
                        <asp:LinkButton ID="btnCancelIncidencia" runat="server" CssClass="navanchordark">Cancelar</asp:LinkButton></td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td align="center" class="RightCellItems">
            <table>
                <tr>
                    <td>Status del giro:
                    </td>
                    <td>
                        &nbsp;<asp:Image ID="imgInfopago" runat="server" /></td>
                    <td>
                        <asp:Label ID="lblInfoStatus" runat="server"></asp:Label>&nbsp;</td>
                </tr>
            </table>
        </td>
    </tr>
    <tr id="trInfoPago" runat="server">
        <td align="center" class="RightCellItems"><table>
            <tr>
                <td style="height: 21px">
                    Informacion del pago:
                </td>
                <td style="height: 21px">
                    <asp:Label ID="lblFechaPago" runat="server"></asp:Label>&nbsp;</td>
                <td style="height: 21px">
                    &nbsp;<asp:Label ID="lblCedulaPago" runat="server"></asp:Label></td>
            </tr>
        </table>
        </td>
    </tr>
    <tr>
        <td>
            <table cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td style="height: 19px">
                        <font class="sectionHeader">Incidencias</font></td>
                    <td align="right" style="height: 19px">
                        <asp:LinkButton ID="cmdAddIncidencia" runat="server" CssClass="navanchordark">Agregar Incidencia</asp:LinkButton></td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <asp:GridView ID="GVInc" runat="server" CellPadding="2" ForeColor="#333333" GridLines="None"
                Width="100%" AutoGenerateColumns="False">
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <EditRowStyle BackColor="#999999" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                <Columns>
                    <asp:BoundField DataField="dinc_Fecha" DataFormatString="{0:d}" HeaderText="Fecha"
                        HtmlEncode="False">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="dinc_Texto" HeaderText="Incidencia">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Us_Login" HeaderText="Usuario">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="evi_Estado" HeaderText="Estado">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                </Columns>
            </asp:GridView>
        </td>
    </tr>
    <tr>
        <td style="width: 100px">
            <font class="sectionHeader">Historico</font></td>
    </tr>
    <tr>
        <td>
            <asp:GridView ID="GVHis" runat="server" CellPadding="4" ForeColor="#333333" GridLines="Horizontal"
                Width="100%" AutoGenerateColumns="False">
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <EditRowStyle BackColor="#999999" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                <Columns>
                    <asp:BoundField DataField="edg_FechaHora" HeaderText="Fecha" DataFormatString="{0:d}" HtmlEncode="False">
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="evt_Evento" HeaderText="Evento" >
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="edg_Motivo" HeaderText="Informacion" >
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="sg_Abreviatura" HeaderText="Status" >
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Us_Login" HeaderText="Usuario" >
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                </Columns>
            </asp:GridView>
        </td>
    </tr>
    <tr>
        <td style="width: 100px">
        </td>
    </tr>
</table>

<asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>
